package www.cslc.com.Account.herartBeat.service;

import www.cslc.com.Common.BaseVO.responseVo.BaseResponseBody;
import www.cslc.com.Common.BaseVO.responseVo.BaseResponseHeader;
import www.cslc.com.Common.BaseVO.responseVo.BaseResponseVo;
import www.cslc.com.Util.JsonUtil;

public class HeartBeatService {
	public BaseResponseVo jsonToObj(String json,BaseResponseHeader responseVo){
		BaseResponseVo responsebaseVo = new BaseResponseVo();
		BaseResponseBody body=new BaseResponseBody();
		responsebaseVo.setBody(body);
		responsebaseVo.setHeader(responseVo);
		responsebaseVo=JsonUtil.jsonToPojo(json, BaseResponseVo.class);
		return responsebaseVo;
	}
}
